package com.hk.controller;

import com.hk.core.roleResult.PageRoleResult;
import com.hk.domain.OperLog;
import com.hk.dto.LogDto;
import com.hk.service.LogService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.ModelAttribute;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

@RestController
@RequestMapping("/monitor/operlog")
public class LogController {
    @Autowired
    private LogService logService;
@GetMapping("/list")
public PageRoleResult list( LogDto logDto){
    return logService.listLog(logDto);


}
}
